package org.belkodevelop.realty.domen;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("LAND")
public class Land extends Realty {
    
    @Column(name = "land_area")
    private Double landArea;
    
    @Column(name = "type_metric_land_area", length = 5)
    private String typeMetricLandArea;
    
    public void setLandArea(Double area) {
        this.landArea = area;
    }
    
    public Double getLandArea() {
        return landArea;
    }

    public String getTypeMetricLandArea() {
        return typeMetricLandArea;
    }

    public void setTypeMetricLandArea(String typeMetricLandArea) {
        this.typeMetricLandArea = typeMetricLandArea;
    }
}
